package lines.gameengine;

/**
 * Represent cell of a lines field
 * 
 * @author vpotapenko
 */
public interface ICell {

    /**
     * Returns field point of the cell
     * @return field point of the cell
     */
    FieldPoint getPoint();

    /**
     * Returns ball which set to the cell or <code>null</code> if cell is empty.
     * @return ball or <code>null</code> if empty
     */
    IBall getBall();

    /**
     * Returns <code>true</code> if cell is empty
     * @return <code>true</code> if cell is empty
     */
    boolean isEmpty();
}
